<% @cell = cell(
  "decidim/newsletter_templates/#{newsletter.template.manifest_name}",
  newsletter.template,
  organization: @organization,
  newsletter:,
  recipient_user: @user
) %>
<%= decidim_sanitize_newsletter @cell.to_s %>

<% content_for :note do %>
  <%== t "note", scope: "decidim.newsletter_mailer.newsletter", organization_name: current_organization_name, link: decidim.notifications_settings_url(host: @organization.host) %>
<% end %>

<% if @user.present? %>
  <% content_for :unsubscribe do %>
    <%== t "unsubscribe", scope: "decidim.newsletter_mailer.newsletter", link: decidim.unsubscribe_newsletters_url(host: @organization.host, u: @encrypted_token) %>
  <% end %>
<% end %>
